package com.heu.blood.storge.dictenum;

import com.heu.blood.globalExceptionHandler.BaseErrorInfoInterface;

/**
 * @author lhh
 * @date 2025-04-25 19:33
 */
public enum BloodWarningEnum implements BaseErrorInfoInterface {
    ALREADY("11112","该血型预警信息已存在！");

    BloodWarningEnum(String resultCode, String resultMsg){
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
    }

    // 错误码
    private final String resultCode;

    // 错误提示
    private final String resultMsg;
    @Override
    public String getResultCode() {
        return resultCode;
    }

    @Override
    public String getResultMsg() {
        return resultMsg;
    }
}
